//
//  main.m
//  窗口
//
//  Created by mac on 16-4-18.
//  Copyright (c) 2016年 lee. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Rectangle.h"
#import "quadrilateral.h"
int main(int argc, const char * argv[])
{
    
    Rectangle *r=[[Rectangle alloc] init];
    r.name=@"矩形";
    quadrilateral *q=[[quadrilateral alloc]init];
    q.name=@"四边形";
    NSArray *a =@[r,q];
    NSLog(@"names: \n%@", [a componentsJoinedByString:@"\n"]);
    
    return 0;
}

